Pronamic\WordPress\Pay\Refunds\RefundLine S

Total Complexity 30
Dependencies 9
Dependents 2
Total lines 308
Lines of code 122
Logical lines of code 54
Comment lines 131
Methods 18
Properties 6

Methods 18

Method Rating Maintainability Complexity Lines of code
from_json()
A
51 8 26
jsonSerialize()
S
53 3 25
get_tax_amount()
S
62 3 13
get_meta()
S
71 2 6
__toString()
S
63 1 11
get_payment_line()
S
82 1 3
delete_meta()
S
80 1 3
set_meta()
S
80 1 3
set_payment_line()
S
81 1 3
__construct()
S
73 1 5
get_id()
S
82 1 3
get_refund()
S
82 1 3
set_total_amount()
S
81 1 3
get_total_amount()
S
82 1 3
set_quantity()
S
81 1 3
get_quantity()
S
82 1 3
set_id()
S
81 1 3
set_refund()
S
81 1 3